

export type informationReqType = {
    keywords: string,
    paging: {
        page: number,
        size: number
    }
}

export type informationResDataType = {
    informationId: number;
    title: string;
    jumpType: number;
    coverImgUrl: string;
    status: number;
    createTime: number;
    updateTime: number;
    jumpContent: string;
    sort: number;
    startTime: number;
    endTime: number
}

export type informationResType = {
    count: number,
    data: informationResDataType[]
}

export type informationReqStateType = {
    informationId: number,
    status: number
}


export type img={
    type:string,
    url:string,
    uid?:string
}
export type informationFormReqType = {
    informationId?: number;
    title: string;
    content: string;
    coverImgUrl:string,
    videoUrl: string;
    source: string;
    status: number;
    username: string;
}

export type informationFormType = {
    informationId?: number;
    title: string;
    content: string;
    img: img[];
    videoUrl: string;
    source: string;
    status: number;
    username: string;
}
